package com.kurumi.autoprint.service.order;


import com.kurumi.autoprint.pojo.MrPrintDetail;
import com.kurumi.autoprint.pojo.print.PrintMrOrder;
import com.kurumi.autoprint.util.Result;

public interface PrintMrOrderService {
	Result insertPrintMrOrder(PrintMrOrder printMrOrder, MrPrintDetail mrPrintDetail);

	/**
	 * 根据订单号修改订单状态
	 * @param billNo
	 * @param tradeSuccess
	 */
	int updatePrintMrOrderStatusByBillNo(String orderNum, Integer status);
	
	PrintMrOrder  getprintMrOrderByOrderNum(String orderNum);
	
	/**
	 * 修改打印状态
	 * @param orderNum
	 * @param printStatus
	 * @return
	 */
	int updatePrintStatusByOrderNum(String orderNum, Integer printStatus, String printErrorMsg);
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

}
